export default function drawCircle(ctx: any, circle: any) {
  let w = circle.width,
    h = circle.height,
    x = circle.x + w / 2,
    y = circle.y + h / 2

  ctx.beginPath()
  //  绘制圆形
  ctx.arc(x, y, h, 0, 2 * Math.PI, false)
  ctx.closePath()
}
